package com.init.iblog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.init.iblog.domain.ResponseResult;
import com.init.iblog.domain.entity.Role;

import java.util.List;


/**
 * 角色信息表(Role)表服务接口
 *
 * @author makejava
 * @since 2023-03-04 23:16:07
 */
public interface RoleService extends IService<Role> {

    List<String> selectRoleKeyByUserId(Long id);

    ResponseResult getRoleList(Integer pageNum, Integer pageSize, String roleName,String status);

    ResponseResult updateRole(Role role);

    ResponseResult deleteRole(List<Long> ids);

    ResponseResult addRole(Role role);

    ResponseResult getRole(Long id);
}

